package day04;
//本类是用来测试双路分支的演示demo
public class Test02 {
    public static void main(String[] args) {
        double price =600;
        if (price>=500){
            price*=0.8;
            System.out.println("打完8折，应付"+price);
        }else if(price>300) {
            price*=0.9;
            System.out.println("打完9折，应付"+price);

        }
    }
}
